package com.rockbb.common.sso.acl;

import java.util.List;

public class ACLUtils
{
	public static boolean accVerify(String permissions, List<Integer> accesses)
	{
		if (accesses != null && accesses.size() > 0)
		{
			for (Integer access : accesses)
			{
				if (ACLBuilder.IndexOf(permissions, access))
				{
					return true;
				}
			}
		}
		return false;
	}
}
